workflow#28417
Conversation
| Thanks for your contribution! The pull request validation has started. Please revisit this comment for updated status. |
There was a problem hiding this comment.
Pull Request Overview
This PR implements a GitHub Actions workflow to automatically trigger Azure DevOps (ADO) pipelines for pull requests created by Azure organization members. The implementation includes PowerShell scripts for checking GitHub organization membership and comprehensive testing infrastructure.
- Adds GitHub Actions workflow that checks PR author membership in Azure organization and triggers ADO pipelines via "/azp run" comments
- Creates PowerShell-based Azure organization membership checker with structured object output and comprehensive error handling
- Includes testing infrastructure and documentation for the membership checking functionality
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/auto-azp-run.yml |
Main GitHub Actions workflow for auto-triggering ADO pipelines |
.github/workflows/README-auto-azp-run.md |
Documentation for the GitHub Actions workflow |
tools/GitHubOrgMember/Check-AzureOrgMembership.ps1 |
PowerShell script for checking Azure organization membership |
tools/GitHubOrgMember/README.md |
Comprehensive documentation for the membership checker |
tools/GitHubOrgMember/Demo-ObjectBased.ps1 |
Demonstration script showing usage examples |
tools/GitHubOrgMember/Test-ObjectBased.ps1 |
Test suite for validating the membership checker |
requirements.md |
Requirements document defining the project scope and goals |
| @@ -0,0 +1,327 @@ | |||
| # GitHub Azure Organization Membership Checker | |||
|
|
|||
| PowerShell script to check if a GitHub user is a member of the Azure GitHub organization using the GitHub CLI. Re```powershell | |||
There was a problem hiding this comment.
The line contains corrupted text with an incomplete code block marker. The text 'Re```powershell' appears to be a formatting error. This should be corrected to proper markdown syntax.
| PowerShell script to check if a GitHub user is a member of the Azure GitHub organization using the GitHub CLI. Re```powershell | |
| PowerShell script to check if a GitHub user is a member of the Azure GitHub organization using the GitHub CLI. |
|
|
||
| PowerShell script to check if a GitHub user is a member of the Azure GitHub organization using the GitHub CLI. Re```powershell | ||
| $result = .\Check-AzureOrgMembership.ps1 "vidai-msft" -Organization "microsoft" -Quietrns structured PowerShell objects for easy processing and integration. | ||
|
|
There was a problem hiding this comment.
The line contains corrupted text where 'Quietrns' should be 'Quiet' followed by proper line termination. The PowerShell example is merged with the description text, making it unreadable.
| PowerShell script to check if a GitHub user is a member of the Azure GitHub organization using the GitHub CLI. | |
| ```powershell | |
| $result = .\Check-AzureOrgMembership.ps1 "vidai-msft" -Organization "microsoft" -Quiet |
Returns structured PowerShell objects for easy processing and integration.
Description
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.